package org.xxx.epms.models.qiniu.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qiniu.util.Auth;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xxx.epms.models.epms.mapper.AqiFeedbackMapper;
import org.xxx.epms.models.epms.model.AqiFeedback;
import org.xxx.epms.models.qiniu.config.QiniuConfig;
import org.xxx.epms.models.qiniu.service.QiniuFileStorageService;

@Service
public class QiniuFileStorageServiceImpl implements QiniuFileStorageService {

//    @Autowired
//    private Auth auth;
    @Autowired
    private QiniuConfig qiniuConfig;
    @Autowired
    private AqiFeedbackMapper aqiFeedbackMapper;

    @Override
    public String getUploadToken(String filekey) {
//        return this.auth.uploadToken(qiniuConfig.getBucket(),filekey, qiniuConfig.getExpireSeconds(), null);
   return "";
    }
}
